<template>
	<view class="helplist">
		<view class="" v-for="(item,index) in helper" :key="item.id">
			<view class="titleclass">
				{{item.id + 1}}.{{item.title}}
			</view>
			<view class="" v-html="item.content">
			</view>
		</view>
	</view>
</template>

<script>
	import $http from '@/common/api/request.js'
	export default {
		data() {
			return {
				helper:[]
			};
		},
		methods:{
			gethelper(){
				$http.request({
					url: "/helplist",
				}).then((res) => {
					console.log(res);
					this.helper = res;
				}).catch(() => {
					
				})
			}
		},
		onLoad() {
			this.gethelper();
		}
	}
</script>

<style lang="scss">
	.helplist{
		padding: 10rpx 20rpx;
	}
	.titleclass{
	margin:0px 0px 10px;padding:0px;font-size:16px;font-weight: 600;
	}
view{
	margin-top:0px;
	margin-bottom:0px;
	padding:0px 0px 0px 20px;
	font-size:14px;
	color:#969696;
	line-height:25px;
	position:relative;
}
</style>
